package com.koron.ticket.work.workmember.mapper;

import com.koron.ticket.work.workmember.bean.WorkMember;
import com.koron.ticket.work.workmember.bean.WorkMemberQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkMemberMapper {
    void insert(WorkMember workMember);

    void batchInsert(List<WorkMember> list);

    void logicDeleteByWorkTicketId(@Param("workTicketId") String workTicketId);

    List<WorkMember> getList(WorkMemberQuery workMemberQuery);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);

    List<WorkMember> queryByWorkTicketId(@Param("workTicketId")String workTicketId);

}
